package com.detection.yolo.domain.hikvision.vo;

import lombok.Data;

import java.time.ZonedDateTime;

@Data
public class Sensor {

    private String indexCode;
    private String name;
    private String type;
    private String unit;
    private Object channelNo; // 可以根据实际需求更改为 Integer 或 null 的处理逻辑
    private Double alarmLow;
    private Double alarmHigh;
    private Object measureLow; // 同上
    private Object measureHigh; // 同上
    private Object sensitive; // 同上
    private Double latestValue;
    private Boolean latestIsAlarm;
    private Object defenseFlag; // 同上
    private ZonedDateTime latestTime; // 使用 Java 8 的日期时间 API
    private Object subSensorType; // 同上
    private Boolean isTopUp;
    private String typeName;
    private String parentIndexCode;
    private Object parentName; // 同上
    private Object sensorShowValue; // 同上
    private Object controlStatus; // 同上
    private String picUrl;
    private Object latestThresholdEventCode; // 同上
    private String sensorThresholdName;
    private Object sensorThresholdType; // 同上
    private Object stateName; // 同上

}
